package com.realtyreg.webview.message;

/**
 * Серверное соообщение пользователю
 * Created by Petro 13.01.13 19:51
 */
public class ServerMessage {
    private MessageType type;
    private String text;

    public ServerMessage() {
    }
    public ServerMessage(MessageType type, String text) {
        this.type = type;
        this.text = text;
    }

    public MessageType getType() {
        return type;
    }

    public void setType(MessageType type) {
        this.type = type;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }
}
